[INFO] cloning repository https://github.com/modulitos/CtCI-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/modulitos/CtCI-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8bbaa49c3eca43a77cf1a2cea1b6f98071ad2c78
[INFO] building modulitos/CtCI-rust against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/modulitos/CtCI-rust on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/modulitos/CtCI-rust
[INFO] finished tweaking git repo https://github.com/modulitos/CtCI-rust
[INFO] tweaked toml for git repo https://github.com/modulitos/CtCI-rust written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/modulitos/CtCI-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9ea2af0a62204604e6c1d24877a43020475f2e36f521c12355fb1d76f28eab37
[INFO] running `Command { std: "docker" "start" "-a" "9ea2af0a62204604e6c1d24877a43020475f2e36f521c12355fb1d76f28eab37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ea2af0a62204604e6c1d24877a43020475f2e36f521c12355fb1d76f28eab37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ea2af0a62204604e6c1d24877a43020475f2e36f521c12355fb1d76f28eab37", kill_on_drop: false }`
[INFO] [stdout] 9ea2af0a62204604e6c1d24877a43020475f2e36f521c12355fb1d76f28eab37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36e2d9eeaaef1ab7837ac53052e9833823d59ffe47bd1eb3fa645ffa8cf7c6c2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "36e2d9eeaaef1ab7837ac53052e9833823d59ffe47bd1eb3fa645ffa8cf7c6c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling c2-chacha v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.7
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling derive_more v0.15.0
[INFO] [stderr]    Compiling rust-solutions v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/linked_list/second.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type Link<T> = Option<(Box<Node<T>>)>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::List`
[INFO] [stdout]    --> src/linked_list/second.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     use super::List;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/third.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/fifth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/refcell_singly.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/stack.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/binary_search_tree.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ord`, `Ordering`
[INFO] [stdout]  --> src/graph.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{Ord, Ordering};
[INFO] [stdout]   |                ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/graph.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_tree.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_tree_refcell.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/binary_search_tree_refcell.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/linked_list/second.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `into_iter`
[INFO] [stdout]   --> src/linked_list/second.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn into_iter(self) -> IntoIter<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter`
[INFO] [stdout]   --> src/linked_list/second.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter_mut`
[INFO] [stdout]   --> src/linked_list/second.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `push`
[INFO] [stdout]   --> src/linked_list/second.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `peek`
[INFO] [stdout]    --> src/linked_list/second.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `peek_mut`
[INFO] [stdout]    --> src/linked_list/second.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn peek_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/linked_list/third.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `append`
[INFO] [stdout]   --> src/linked_list/third.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn append(&mut self, elem: T) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `tail`
[INFO] [stdout]   --> src/linked_list/third.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn tail(&self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `head`
[INFO] [stdout]   --> src/linked_list/third.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn head(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter`
[INFO] [stdout]    --> src/linked_list/third.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/linked_list/fourth.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn new(elem: T) -> Rc<RefCell<Self>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/linked_list/fourth.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `push_front`
[INFO] [stdout]   --> src/linked_list/fourth.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn push_front(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `peek_front`
[INFO] [stdout]   --> src/linked_list/fourth.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn peek_front(&self) -> Option<Ref<T>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `prev`
[INFO] [stdout]   --> src/linked_list/brandon.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     prev: Option<NodeRef<T>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `tail`
[INFO] [stdout]   --> src/linked_list/brandon.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn tail(node: &NodeRef<T>) -> Option<NodeRef<T>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `remove`
[INFO] [stdout]   --> src/linked_list/brandon.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn remove(&mut self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/linked_list/brandon.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `append`
[INFO] [stdout]   --> src/linked_list/brandon.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn append(&mut self, new_value: T) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `tail`
[INFO] [stdout]   --> src/linked_list/brandon.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn tail(&self) -> Option<NodeRef<T>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter`
[INFO] [stdout]   --> src/linked_list/brandon.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `list_has_duplicates`
[INFO] [stdout]    --> src/linked_list/brandon.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn list_has_duplicates(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `remove_duplicates`
[INFO] [stdout]    --> src/linked_list/brandon.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn remove_duplicates(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]    --> src/linked_list/brandon.rs:228:4
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/linked_list/fifth.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `push`
[INFO] [stdout]   --> src/linked_list/fifth.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pop`
[INFO] [stdout]   --> src/linked_list/fifth.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch3-p2_stack-with-min.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p2_stack_with_min`
[INFO] [stdout]    --> src/bin/ch3-p2_stack-with-min.rs:4:1
[INFO] [stdout]     |
[INFO] [stdout] 4   | / use cracking::Stack;
[INFO] [stdout] 5   | |
[INFO] [stdout] 6   | | struct MinStack<T> {
[INFO] [stdout] 7   | |     stack: Stack<T>,
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |     }
[INFO] [stdout] 103 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch3-p2_stack-with-min.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-solutions`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p1_insertaion`
[INFO] [stdout]   --> src/bin/ch5-p1_insertaion.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | / fn update_bits(n: u32, m: u32, i: u8, j: u8) -> u32 {
[INFO] [stdout] 17 | |     // First, clear the values between bits i and j.
[INFO] [stdout] 18 | |     // Do this by creating 2 masks, then combining them.
[INFO] [stdout] 19 | |     // Make the left mask (left = 0b111_1000_0000):
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |     assert_eq!(updated, 0b100_1101_0110);
[INFO] [stdout] 38 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/ch5-p1_insertaion.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/bin/ch3-p3_stack-of-plates.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p3_stack_of_plates`
[INFO] [stdout]    --> src/bin/ch3-p3_stack-of-plates.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout] 15  | / use cracking::Stack;
[INFO] [stdout] 16  | | use std::vec::Vec;
[INFO] [stdout] 17  | |
[INFO] [stdout] 18  | | struct SetOfStacks<T> {
[INFO] [stdout] ...   |
[INFO] [stdout] 195 | |     }
[INFO] [stdout] 196 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch3-p3_stack-of-plates.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch2-p6_check-palindrome.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p2_binary_to_string`
[INFO] [stdout]   --> src/bin/ch5-p2_binary-to-string.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / use std::fmt::Write;
[INFO] [stdout] 7  | |
[INFO] [stdout] 8  | | fn get_binary_float(mut n: f32) -> String {
[INFO] [stdout] 9  | |     if n < 0.0 || n >= 1.0 {
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     assert_eq!(get_binary_float(0.9999999999999), "ERROR");
[INFO] [stdout] 48 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/ch5-p2_binary-to-string.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch4-p1_route-between-nodes.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p1_route_between_nodes`
[INFO] [stdout]    --> src/bin/ch4-p1_route-between-nodes.rs:4:1
[INFO] [stdout]     |
[INFO] [stdout] 4   | / use std::collections::HashSet;
[INFO] [stdout] 5   | | use std::collections::VecDeque;
[INFO] [stdout] 6   | |
[INFO] [stdout] 7   | | struct ASimpleGraph {
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |     }
[INFO] [stdout] 111 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch4-p1_route-between-nodes.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch3-p6_animal-shelter.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p6_animal_shelter`
[INFO] [stdout]    --> src/bin/ch3-p6_animal-shelter.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout] 12  | / use std::collections::LinkedList;
[INFO] [stdout] 13  | | use std::time::Instant;
[INFO] [stdout] 14  | |
[INFO] [stdout] 15  | | #[derive(Debug, PartialEq, Clone)]
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |     }
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch3-p6_animal-shelter.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch4-p7_build-order.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p7_build_order`
[INFO] [stdout]    --> src/bin/ch4-p7_build-order.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | / use cracking::{Graph, IntoChar};
[INFO] [stdout] 21  | | use std::collections::HashSet;
[INFO] [stdout] 22  | | use std::iter::FromIterator;
[INFO] [stdout] 23  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |     }
[INFO] [stdout] 140 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch4-p7_build-order.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/ch1-p4_palindrom-permutation.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         if let Some(value) = map.get(&c) {
[INFO] [stdout]    |                              --- immutable borrow occurs here
[INFO] [stdout] 31 |             map.insert(c, value + 1);
[INFO] [stdout]    |             ^^^           ----- immutable borrow later used here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             mutable borrow occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
[INFO] [stdout]    = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]    = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p5_sort_stack`
[INFO] [stdout]    --> src/bin/ch3-p5_sort-stack.rs:7:1
[INFO] [stdout]     |
[INFO] [stdout] 7   | / extern crate cracking;
[INFO] [stdout] 8   | | use cracking::Stack;
[INFO] [stdout] 9   | |
[INFO] [stdout] 10  | | pub trait SortStack<T> {
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |     }
[INFO] [stdout] 112 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch3-p5_sort-stack.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `delete_middle_node`
[INFO] [stdout]   --> src/bin/ch2-p3_delete-middle-node.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn delete_middle_node(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p8_draw_line`
[INFO] [stdout]    --> src/bin/ch5-p8_draw-line.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | / const MAX: u8 = std::u8::MAX;
[INFO] [stdout] 14  | | use std::convert::TryFrom;
[INFO] [stdout] 15  | |
[INFO] [stdout] 16  | | // draws a line from (x1, x2) (inclusive), at row y.
[INFO] [stdout] ...   |
[INFO] [stdout] 195 | |     assert_eq!(screen, screen_result);
[INFO] [stdout] 196 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch5-p8_draw-line.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch3-p4_queue-via-stacks.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p4_queue_via_stacks`
[INFO] [stdout]   --> src/bin/ch3-p4_queue-via-stacks.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | / use cracking::Stack;
[INFO] [stdout] 5  | |
[INFO] [stdout] 6  | | struct MyQueue<T> {
[INFO] [stdout] 7  | |     incoming: Stack<T>,
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |     }
[INFO] [stdout] 97 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/ch3-p4_queue-via-stacks.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeNode as Node`
[INFO] [stdout]   --> src/bin/ch4-p12_paths-with-sum.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cracking::{BTree as Tree, BTreeNode as Node};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p12_paths_with_sum`
[INFO] [stdout]    --> src/bin/ch4-p12_paths-with-sum.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | / use cracking::{BTree as Tree, BTreeNode as Node};
[INFO] [stdout] 12  | | use std::collections::HashMap;
[INFO] [stdout] 13  | |
[INFO] [stdout] 14  | | // Counts paths adding to the sum, starting at the given node:
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |     assert_eq!(count_paths_optimized(&node_fixture, 8), 3);
[INFO] [stdout] 154 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch4-p12_paths-with-sum.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p7_pairwise_swap`
[INFO] [stdout]   --> src/bin/ch5-p7_pairwise-swap.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / fn pairwise_swap(n: u8) -> u8 {
[INFO] [stdout] 6  | |     let even_mask = 0b10101010_u8;
[INFO] [stdout] 7  | |     let odd_mask = even_mask >> 1;
[INFO] [stdout] 8  | |
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |     assert_eq!(pairwise_swap(0b01010111_u8), 0b10101011_u8);
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/ch5-p7_pairwise-swap.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch4-p9_bst-sequences.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p9_bst_sequences`
[INFO] [stdout]    --> src/bin/ch4-p9_bst-sequences.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout] 19  | / use cracking::{BinarySearchTree, Tree};
[INFO] [stdout] 20  | | use std::collections::HashSet;
[INFO] [stdout] 21  | |
[INFO] [stdout] 22  | | fn get_all_arrays<T>(bst: BinarySearchTree<T>) -> HashSet<Vec<T>>
[INFO] [stdout] ...   |
[INFO] [stdout] 252 | |     }
[INFO] [stdout] 253 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch4-p9_bst-sequences.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TreeNode`
[INFO] [stdout]  --> src/bin/ch4-p5_validate-bst.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cracking::{BinarySearchTree, Tree, TreeNode};
[INFO] [stdout]   |                                        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch4-p5_validate-bst.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p5_validate_bst`
[INFO] [stdout]    --> src/bin/ch4-p5_validate-bst.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | / use cracking::{BinarySearchTree, Tree, TreeNode};
[INFO] [stdout] 9   | |
[INFO] [stdout] 10  | | trait ValidateBST<T> {
[INFO] [stdout] 11  | |     fn validate_bst(&self) -> bool;
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |     }
[INFO] [stdout] 193 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch4-p5_validate-bst.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch7_p5_online_book_reader`
[INFO] [stdout]    --> src/bin/ch7-p5_online-book-reader.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | / use std::collections::HashMap;
[INFO] [stdout] 15  | | #[macro_use]
[INFO] [stdout] 16  | | extern crate derive_more;
[INFO] [stdout] 17  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |     assert_eq!(reader.turn_page().current_page, Some(3));
[INFO] [stdout] 269 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch7-p5_online-book-reader.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p11_random_node`
[INFO] [stdout]    --> src/bin/ch4-p11_random-node.rs:7:1
[INFO] [stdout]     |
[INFO] [stdout] 7   | / use rand::{thread_rng, Rng};
[INFO] [stdout] 8   | | use std::fmt;
[INFO] [stdout] 9   | |
[INFO] [stdout] 10  | | type BareTree<T> = Box<Node<T>>;
[INFO] [stdout] ...   |
[INFO] [stdout] 204 | |     assert!((1..10).contains(&v));
[INFO] [stdout] 205 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch4-p11_random-node.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_one_away`
[INFO] [stdout]  --> src/bin/ch1-p5_one-away.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn is_one_away(s1: &str, s2: &str) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Manager`
[INFO] [stdout]   --> src/bin/ch7-p2_call-center.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Manager,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `from`
[INFO] [stdout]   --> src/bin/ch7-p2_call-center.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     from: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_rotation`
[INFO] [stdout]   --> src/bin/ch1-p9_string-rotation.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn is_rotation(s1: &str, s2: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch4-p4_check-balanced.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p4_check_balanced`
[INFO] [stdout]   --> src/bin/ch4-p4_check-balanced.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / use cracking::{BinarySearchTree, Tree};
[INFO] [stdout] 7  | | use std::cmp;
[INFO] [stdout] 8  | |
[INFO] [stdout] 9  | | trait CheckBalanced<T> {
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |     }
[INFO] [stdout] 98 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/ch4-p4_check-balanced.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `partition`
[INFO] [stdout]   --> src/bin/ch2-p4_partition.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn partition(&mut self, partition_value: T) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `verify_partition`
[INFO] [stdout]    --> src/bin/ch2-p4_partition.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn verify_partition(&mut self, value: T) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch3-p1_three-in-one.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/ch1-p3_check-permutation.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if let Some(count) = map.get(&c) {
[INFO] [stdout]    |                              --- immutable borrow occurs here
[INFO] [stdout] 15 |             map.insert(c, count + 1);
[INFO] [stdout]    |             ^^^           ----- immutable borrow later used here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             mutable borrow occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
[INFO] [stdout]    = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]    = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p1_three_in_one`
[INFO] [stdout]    --> src/bin/ch3-p1_three-in-one.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout] 3   | / use std::boxed::Box;
[INFO] [stdout] 4   | | use std::cmp;
[INFO] [stdout] 5   | |
[INFO] [stdout] 6   | | type Node<T> = Option<T>;
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |     }
[INFO] [stdout] 174 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/bin/ch3-p1_three-in-one.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "36e2d9eeaaef1ab7837ac53052e9833823d59ffe47bd1eb3fa645ffa8cf7c6c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36e2d9eeaaef1ab7837ac53052e9833823d59ffe47bd1eb3fa645ffa8cf7c6c2", kill_on_drop: false }`
[INFO] [stdout] 36e2d9eeaaef1ab7837ac53052e9833823d59ffe47bd1eb3fa645ffa8cf7c6c2
